<template>
	<view class="child">
		<view class="plain-list">
			<view class="list-plain">
				<image class="list-item" src="../../static/imgs/underline.png" mode=""></image>
				<view class="list-title">速刷</view>
			</view>
			<view class="list-into" @tap="goshua">刷题</view>
		</view>
		<view class="plain-video">
			<view class="list-plain">
				<image class="list-item" src="../../static/imgs/underline.png" mode=""></image>
				<view class="list-title">视频</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		methods: {
			goshua(){
				uni.navigateTo({
					url:'../../pages/subject/subject'
				})
			}
		}
	}
</script>

<style scoped>
	.plain-list {
		display: flex;
		align-items: center;
		padding-bottom: 40rpx;
		padding-left: 30rpx;
	}

	.plain-list:nth-child(1) {
		margin-top: 20rpx;
	}

	.list-plain {
		display: flex;
		align-items: center;
	}

	.list-item {
		width: 37rpx;
		height: 34rpx;
		padding-right: -15rpx;
	}

	.list-title {
		font-size: 30rpx;
		padding-right: 40rpx;
	}

	.list-into {
		font-size: 20rpx;
		color: #0072ff;
	}

	.plain-video {
		width: 650rpx;
	}

	.plain-video .list-plain {
		padding-left: 20rpx;
	}
</style>